Authenticate User

{ authenticateUser }

Generates an access authentication token for the given user to use the API functions or login to the application.

Method

/API2/auth/authenticateUser
  • API Section: /API2/auth
  • API Version: 2.0
  • From Release: 2018.5
  • Can be used by all user types
  • REST API only via POST actions.
  • Input Parameters

    Name

    userCredentials

    Object Type

    Description

    The user credential object used to set a user's login settings.

    Output Response

    Successful Result Code

    200

    Response Type

    string

    Description of Response Type

    The response is the security token as a base64 string. It is usually stored in a cookie.

    Notes

    The security token is a string that needs to be embedded in every API call to ensure the API calls are authorized. If saved as a cookie in a web browser, it can be used (for the authenticated user) to auto-login into the application.

    Examples